using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

using NUnit.Framework;

namespace Test.CodeIdentifiers
{
    [TestFixture]
    public class CodeIdentifiersTest
    {
        [Test]
        public void MakeUniqueTest ()
        {
            System.Xml.Serialization.CodeIdentifiers identifiers = new System.Xml.Serialization.CodeIdentifiers (true);
            string original = identifiers.AddUnique ("nameField", "valueOriginal");
            string unique = identifiers.AddUnique ("nameField", "value");

            Assert.IsTrue (original != unique, "#1");
        }

    }
}
